package models

import (
	"gorm.io/gorm"
	"time"
)
//好友关系
type FriendRelation struct {
	Id			int64   `gorm:"column:id",json:"id"`				// id
	HostId		string 	`gorm:"column:host_id",json:"host_id"`		// 宿主id
	FriendId	string	`gorm:"column:friend_id",json:"friend_id"`	// 朋友id
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt gorm.DeletedAt `gorm:"index"`
}

// 设置表明为 interest_colloct
func (this *FriendRelation)TableName()string  {
	return "friend_relation"
}
